<html>
<head><meta charset="utf-8"><title>Tracking logging in depinfo · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Tracking.20logging.20in.20depinfo.html">Tracking logging in depinfo</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="228618396"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Tracking%20logging%20in%20depinfo/near/228618396" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Tracking.20logging.20in.20depinfo.html#228618396">(Mar 03 2021 at 16:09)</a>:</h4>
<p>I'm trying to automatically include the name of the logging variable (e.g. <code>RUSTC_LOG</code>) in depinfo, so cargo knows to rebuild when it changes. That requires moving logging to <code>rustc_session</code>, since that's the first time I have a <code>ParseSess</code> available. Is that ok? Is there a way to see if logging is ignored?</p>



<a name="228618440"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Tracking%20logging%20in%20depinfo/near/228618440" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Tracking.20logging.20in.20depinfo.html#228618440">(Mar 03 2021 at 16:09)</a>:</h4>
<p>see also <a href="#narrow/stream/257328-clippy/topic/CLIPPY_ARGS.20is.20not.20tracked.20by.20Cargo/near/228616067">https://rust-lang.zulipchat.com/#narrow/stream/257328-clippy/topic/CLIPPY_ARGS.20is.20not.20tracked.20by.20Cargo/near/228616067</a>, <a href="https://github.com/rust-lang/cargo/issues/8374">https://github.com/rust-lang/cargo/issues/8374</a></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>